<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
			<meta name="msapplication-tap-highlight" content="no">
     <meta name="format-detection" content="telephone=no">
      <meta name="format-detection" content="email=no">
     <meta name="format-detection" content="adress=no">
      <meta name="screen-orientation" content="portrait"> 
       <meta name="x5-fullscreen" content="true" /> 
       <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
     	<link rel="stylesheet" type="text/css" href="css/reset.css"/>
     	<script type="text/javascript" src="js/fastclick.js" ></script>
        <script type="text/javascript">
        if ('addEventListener' in document) {
            document.addEventListener('DOMContentLoaded', function() {
                FastClick.attach(document.body);
            }, false);
        }
    </script>
		<title></title>
		<link rel="stylesheet" href="css/zhe.css" />
	</head>
	<body>
		<div class="nav">
			<div>
			<a href="javascript:history.go(-1)">
				<img src="img/fanhui@2x.png"/>
			</a>
			</div>
			<div>
				提现
			</div>
		</div>
		<div class="main">
			<div>
				<p>当前余额</p>
				<input type="text" value="90.00" disabled="disabled">
			</div>			
		</div>
		<div class="main">
			<div>
				<p>提现余额</p>
				<input type="text" value="" placeholder="请输入提现金额" class="inpt1"/>
			</div>			
		</div>
		<div class="txyh">
			<ul>
				<li>
					<p>提现到微信红包</p>
					<p class="p1"></p>
				</li>
				<li>
					<p>提现到银行卡</p>
					<p class="p2"></p>
				</li>
			</ul>
		</div>
		<div class="hot">
			<div>
				<p>充值记录</p>
				<p>忘记密码</p>
			</div>
		</div>
		<div class="dibu">
			<p class="newa">确定</p>
		</div>
		<div id="zhe">
			
		</div>
		<div class="  you" >
			<p>请输入钱包密码</p>
			<input type="text" name="" id="" value="" />
			<input type="text" name="" id="" value="" />
			<input type="text" name="" id="" value="" />
			<input type="text" name="" id="" value="" />
			<input type="text" name="" id="" value="" />
			<input type="text" name="" id="" value="" />
			<p>输入错误 ； 请萨达是</p>
		</div>
	</body>
</html>
<script src="js/flexible.js" ></script>
<script type="text/javascript">
	var newa = document.getElementsByClassName("newa")[0];
	var zhe = document.getElementById("zhe");
	var you = document.getElementsByClassName("you")[0];
	console.log(you)
	newa.onclick = function(){
		zhe.style.display="block";
		you.className="xian"
	}
	
	var p1=document.getElementsByClassName("p1")[0];
	var p2=document.getElementsByClassName("p2")[0];
	p1.onclick=function(){
		if(p2.style.backgroundColor!=="#ff3333"){
			
		this.style.backgroundColor="#ff3333";
		p2.style.backgroundColor="#FFFFFF";
		}
		
	}
	
	p2.onclick=function(){
		if(p1.style.backgroundColor!=="#ff3333"){
			p1.style.backgroundColor="#FFFFFF";
		this.style.backgroundColor="#ff3333";
		}
	}
	var inpt = document.getElementsByClassName("inpt1")[0];
	inpt.onblur = function(){
		if(inpt.value>=91){
			this.value="余额不足"
		}
	}
	
</script>